/**
 *
 */
package com.dhcc.frame.guava.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * @author 谢进军
 *
 */
public class State {
	private String name;

	private String code;

	private Set<City> mainCites = new HashSet<City>();

	/**
	 *
	 */
	public State() {
		super();
	}

	/**
	 * @param name
	 * @param code
	 */
	public State(String name, String code) {
		super();
		this.name = name;
		this.code = code;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @return the mainCites
	 */
	public Set<City> getMainCites() {
		return mainCites;
	}

	/**
	 * @param mainCites the mainCites to set
	 */
	public void setMainCites(Set<City> mainCites) {
		this.mainCites = mainCites;
	}

}
